package cc.linker.steplink.crm.merchanth5.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface VipExchangeDao {

    List<Map> getExChangeList(Map<String, Object> param);

    List<Map> getList(Map<String, Object> param);

    Integer saveExchange(Map<String, Object> param);

    void saveExchangeCode(@Param("exchangeCodesList") List<Map<String,Object>> exchangeCodesList);

    void updateExchange(Map<String, Object> param);

    void deleteExchange(Map<String, Object> param);

    void deleteExchangeCode(Map<String, Object> param);

    void updateStatus(Map<String, Object> param);

    List<Map<String, Object>> getExchangeCodesList(@Param("exchangeId") Long exchangeId);

    String getRelateName(Map map);

    Map getInfo(@Param("exchangeId") Long exchangeId);

    Map getExchangeCodeValue(Map<String, Object> params);

    void updateExchangeStatus(Map<String, Object> params);

}
